package com.zust.controller.backend;

import com.zust.entity.User;
import com.zust.response.ServerResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created on 2018/3/14.
 * 后台用户请求举例
 * @author Jie
 */
@RestController
@RequestMapping("/admin/user")
public class UserManageController {


    @GetMapping("/{id}")
    public ServerResponse getInfoById(@PathVariable("id")String openId){
        return ServerResponse.createBySuccess();
    }
}
